package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagFamilyMemberRelationDao;
import com.frogs.ucenter.entity.TagFamilyMemberRelation;
import com.frogs.ucenter.service.TagFamilyMemberRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagFamilyMemberRelationService")
public class TagFamilyMemberRelationServiceImpl extends BaseServiceImpl<TagFamilyMemberRelation> implements TagFamilyMemberRelationService {
    @Autowired
    private TagFamilyMemberRelationDao tagFamilyMemberRelationDao;

    public TagFamilyMemberRelationServiceImpl() {
        super();
    }

    public TagFamilyMemberRelationDao getTagFamilyMemberRelationDao() {
        return tagFamilyMemberRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TagFamilyMemberRelation> getBaseDao() {
        return tagFamilyMemberRelationDao;
    }

    public void setTagFamilyMemberRelationDao(TagFamilyMemberRelationDao tagFamilyMemberRelationDao) {
        this.tagFamilyMemberRelationDao = tagFamilyMemberRelationDao;
    }
}